Pages: « 1 2
  Print  
Author Topic: Variable performance  (Read 18266 times)
Offline (Male) Goombert
Reply #15 Posted on: May 05, 2019, 08:09:07 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2991

View Profile
We finally got around to this and the var is now as fast as variant in benchmarks.
https://github.com/enigma-dev/enigma-dev/issues/1617
https://github.com/enigma-dev/enigma-dev/pull/1676
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) Josh @ Dreamland
Reply #16 Posted on: May 06, 2019, 10:10:26 pm

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
The bigger takeaway is that variant is frequently as fast as double. Not always; depends on C++ optimizations, right now. When it's not as fast as double, it's still pretty fast.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Pages: « 1 2
  Print