Jump to content

David Heffernan

  • Content Count

  • Joined

  • Last visited

  • Days Won


David Heffernan last won the day on January 6

David Heffernan had the most liked content!

Community Reputation

31 Excellent

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. David Heffernan

    Test Bits in a Byte

    But this topic concerns the 8 bits in a byte.
  2. David Heffernan

    Measure Process Time

    Who says that the variation isn't happening in your process?
  3. David Heffernan

    Measure Process Time

    You'll see similar results as you do presently I predict.
  4. David Heffernan

    Test Bits in a Byte

    Ugh, a class allocated on dynamic memory just to do bit twiddling. What is so hard about the and operator?
  5. David Heffernan

    Measure Process Time

    Doesn't seem like a massive amount of variability. Probably depends on what your code does. You are measuring what is known as wall clock time. Total elapsed time. Why would you want to measure anything else? Wall clock time is the time as perceived by the users.
  6. David Heffernan

    pixel-perfect bitmap FMX app

    Define "pixel perfect" please
  7. It hasn't been supported for years now. Use an old delphi version for legacy OS like XP.
  8. David Heffernan

    Maintaining For loop(s)

    Don't put them all over the code. Just don't!! There is always a better way.
  9. David Heffernan

    Maintaining For loop(s)

    The fundamental problem sounds like you have duplication of code. Attack that and the problem you describe simply disappears.
  10. David Heffernan

    Compiling Options?

    In other words, you added these options to your project.
  11. David Heffernan

    Import .NET Assembly

    Not much point creating an unmanaged wrapper when the library ships with one out of the box.
  12. David Heffernan

    [3D] Why do i need to use negative Y values to go UP?

    There's got to be a convention one way or another. Is it really that hard to grasp?
  13. Generally multiple threads give performance benefits for cpu bound tasks. This one isn't cpu bound. So how do you imagine there to be any benefit?
  14. David Heffernan

    Import .NET Assembly

    Very hard to see anything useful coming from this. Can't imagine any way for Delphi to directly consume a managed assembly other than COM. I'd consider making your own COM wrapper of the assembly, using C#, or writing a Delphi wrapper around the C interface.
  15. David Heffernan

    How to deal with different types of Variant?

    If it's a numeric column then surely it's always a number.