![]() |
`Inc(I)` versus `I := I + 1;` in Delphi – they’re the same, but not atomic per se.
Given a variable I: Integer, some people like Inc(I);*others like I := I + 1;. You might think that part of that discussion nowadays should be multithreading. In practice this does not matter: the compiler will use the same instructions for both statements. TL;DR: This*might make you think they are ...http://feeds.feedburner.com/~r/delph...~4/q4h_7x_4A5A
![]() |
Alle Zeitangaben in WEZ +1. Es ist jetzt 22:33 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz