DelphiTools

DWS, Profiler and other Pascal tools

Menu
Skip to content
  • Home
  • FocusFusion
    • Overview
    • Changelog
    • Download from store
  • Sampling Profiler
    • Overview
    • Changelog & Downloads
    • Tips & News
    • Mini-Guide
  • Dev Tools
    • MapFileStats – Delphi MAP file statistics
    • ZJDBGPack
  • DWScript
    • Overview
    • Tips & News
    • DWScript at BitBucket
    • DWScript Downloads
    • Showcase
  • Android
    • glInfo for Android OpenGL info
    • Départements Français
    • Nickel Iron
  • iOS
    • Nickel Iron
  • HTML5
    • L-System Fiddle
    • Nickel Iron
    • WarTrail
  • Links

Tag Archives: interface

Casting an Interface to a Class, the efficient way

6 comments
July 4, 2012 in Tips.

Delphi 2010 added support for the “as” to cast an interface reference to its implementation class.

Here is an alternative that can help both performance and correctness.

(more…)

Archives

Smart Mobile Studio

Smart Programmer

BeginEnd.net

Torry's

DelphiPages

Tags

asm beginend Bottleneck cefHtmlSnapshot Command Compiler CPU Debug Delphi Delphi 11 Download DWS DWScript FastMM FireMonkey Fractals FreePascal GLScene Hash IDE JavaScript JIT Mandelbrot MAP MapFileStats Multithreading OP4JS Optimization Performance Poll Profiler Real-time RTTI SamplingProfiler Site SmartMS String SynEdit Templates Tips TMonitor Tools Unicode WebServer WordPress

Meta

  • Site Admin
  • Entries / Comments RSS
  • WordPress.org
  • Cookie Policy