Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 05/02/21 in Posts

  1. I wish everyone a healthy day Is there a away to prevent getting picture of a form ( Prevent Alt or Ctrl Print Screen ) ? Thank You
  2. Martin Wienold

    Prevent Alt or Ctrl + Print Screen

    Obligatory The Daily WTF link: Copy Protected
  3. Uwe Raabe

    Prevent Alt or Ctrl + Print Screen

    Make a photo with your smartphone
  4. Martin Wienold

    Prevent Alt or Ctrl + Print Screen

    Maybe using Low Level Keyboard Hooks MSDN LowLevelKeyboardProc But the thing is, there are more ways to make a Screenshot than just using these Shortcuts, even without third party tools: Microsoft Snipping Tools Windows Key + Shift + S Print and MS Paint to cut the Screenshot You should ask yourself if you actually need to do this and save yourself the time and money.
  5. As I already said - the high constant factor with the RTL hash function is the problem - both TDict and Spring with faster equalitycomparer from Tiny.Library - results from an i5-3570 @ 3.4GHz Also testing in the global main is garbage because you are then using global variables that cause way less optimal code - fixing that (simply put all that benchmark code into a procedure) and you get the following results Win32: Get Name from ID (Search by integer): records Sequenced TArray.BinS TDict CustomBinS TSynDict Spring 10 26 375 25 24 32 27 50 56 447 25 29 32 26 100 83 473 26 32 35 25 1000 535 585 28 83 37 26 10000 5561 753 46 130 44 30 Get ID from Name (Search by string): records Sequenced TArray.BinS TDict CustomBinS TSynDict Spring 10 21 382 28 12 30 27 50 109 466 24 18 28 25 100 206 491 24 23 31 26 1000 2044 603 30 88 39 30 10000 20532 810 36 181 49 36 Win64: Get Name from ID (Search by integer): records Sequenced TArray.BinS TDict CustomBinS TSynDict Spring 10 24 297 26 23 32 26 50 60 323 26 30 31 26 100 94 328 26 40 32 26 1000 752 381 28 85 47 28 10000 8619 427 33 128 47 30 Get ID from Name (Search by string): records Sequenced TArray.BinS TDict CustomBinS TSynDict Spring 10 61 306 24 30 27 24 50 304 342 23 41 31 22 100 620 347 23 51 31 23 1000 6466 426 31 127 52 30 10000 64263 552 38 237 58 36
×