Jump to content

Tommi Prami

Members
  • Content Count

    642
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by Tommi Prami

  1. Tommi Prami

    ForEach runs only one "thread" at time

    Posted link to the repo later, did not remember that it was public. Currently it is not CPU bound, uses 10% of CPU and not that much memory also, there is my own CPU and Memory throttling code, but it has no effect. Tested it with putting break point there., There will be one "thread" processing. With PPL it worked pretty well, with OTL it is running all in sequential manner, not in parallel, it completed the process but second compression after the first one.
  2. Tommi Prami

    ForEach runs only one "thread" at time

    There is a loop while waiting the running process that will process messages, but not with ProcessMessages-call but uses PeekMessage with PM_REMOVE flag.
  3. Tommi Prami

    ForEach runs only one "thread" at time

    Hehe.,.. I have whole code in GitHub: https://github.com/TommiPrami/7zFileCompress Not too clean because just trying to hash it together. And tools for just own usage are not that important that would keep repo cleaned up all the time. -Tee-
  4. Tommi Prami

    ForEach runs only one "thread" at time

    Looked into that, but did not quite get how it would solve this problem. Refactored ForEach loop into separate procedure which was used in Future, with same result. Now I let it wun to see if it'll do all "tasks" sequentially. I was using Delphi PPL and it more than less worked, tried to port it to to OTL, but it was not that simple as I thought.
  5. Tommi Prami

    ForEach runs only one "thread" at time

    Yes but released in try.. finally. I use Critical section and very short ones.
  6. Tommi Prami

    FastMM 5 Performance

    Just pointing out that is "debug stuff" of FastMM5, usually not compiled to release-binaries, but it depends on how exe is built... I've always used latest FastMM and never there has been proof that something was FastMM's fault. Not saying that it has always been bug free, but problems I've encountered always been at somewhere else, FastMM just had borough them into light. -Tee-
  7. Tommi Prami

    FastMM 5 Performance

    That is debug stuff, but if build that way sure can be one of the reasons... -Tee-
  8. Tommi Prami

    FastMM 5 Performance

    We usually wait some time after new release, and follow Tickets people start to post. Some of the bugs/regressions now in D12 are pretty bad. and also quite weird that no one found those in beta. I ran all of our products and unit/integration tests and saw nothing when D12 came out. So those apparently needed some special code, as usually is when it is regression. But anyhow. I really hope that D12.1 comes soon, because IDE is clearly better than D11. And some good fixes also coming in D12 too. Depending on the situation and project, After we got everything compiling in D12 and made sure we kept D11 compatibility, it took couple of hours for me to get back to D11 with total D11 reinstall. But easily can see the situation that jumping back to early version can take long time, depending on the products and so on. -Tee-
  9. Tommi Prami

    FastMM 5 Performance

    D12 has some very bad bugs/regressions. If you have latest D11 release available, I would go to that, with and without FastMM5 to get to the root of this.
  10. Tommi Prami

    New in Firebird 5 - Part 1

    Related video:
  11. Tommi Prami

    Delphi 12 is available

    Couple of nasty bugs in D12 compiler. Please vote: https://quality.embarcadero.com/browse/RSP-43274 https://quality.embarcadero.com/browse/RSP-43418 (if previously discussed in here, don't read the message 😉 )
  12. Tommi Prami

    SonarDelphi v1.0.0 released!

    Maybe need to evaluate it a and migrate to that. Few years ago when I looked at PEX, it seemed to have tons of not that important checks, which seemed not that useful at the time. Need to actually evaluate it. Thanks for info... -Tee-
  13. Tommi Prami

    SonarDelphi v1.0.0 released!

    Could you give couple examples in what way those are better.
  14. This is quite interesting. Have not looked into how it is implemented, but speedup claims are pretty substantial. https://github.com/intel/x86-simd-sort Rarely sort is the real bottleneck in any code, but faster is still faster 🙂 -Tee-
  15. Tommi Prami

    SonarDelphi v1.0.0 released!

    Sent many emails past 2 years, to support of: - Known issues/bugs - About next release - Feature requests And sent direct question to TMS sales about FixInsight, is there going top be new version, and about the same message to their support forum thingy. No response, what so ever. Nothing. Not even hello, we have received your message. Absolutely nothing... We have been paid customer from the start (about)... -Tee-
  16. Tommi Prami

    SonarDelphi v1.0.0 released!

    This is very interesting project, only problem for me is that there is so big dependencies. For some that is not problem, I get that. As now it seems that FixInsight is abandonware, I have been thinking that community would start project of our own, that would be made with pure delphi without extra dependencies. -Tee-
  17. Tommi Prami

    Access

    Weird. Maybe some automated Spam detection in this forum kicks in... Or "too many" post in short period in time or something like that... -Tee-
  18. https://github.com/d-mozulyov/Rapid.Generics/tree/master (Don't used just stumbled upon it, and did not analyze it either)
  19. Hello, I tried to port Generics.Colllections code to using Spting4D collections instead. I got the "raised exception class EInvalidCast with message '"TMyRecord" is not a class type.'" exception, are the records at all supported, or I am doing something wrong. Code somethin g like that. FRecordCache.Add(LKEyString, LMyRecord); Created this way: FRecordCache:= TCollections.CreateDictionary<string, TMyRecord>([doOwnsValues]) Never mind, it was the doOwnsValues 😄
  20. Tommi Prami

    Access

    I've never had that... What was the content... -Tee-
  21. Trying to find right package form the list, some of witch have quite similar names, is total pain in the but. When lkot of components installed there are tons of packages to go through. At worst case, you don't know thew exact name of the package, then you have to actually read all, and not just add some keywords like "tms aur" to get to tms aurelius (if it has package, don't know, just an example) Voted for this one, that is still open: https://quality.embarcadero.com/browse/RSP-14203
  22. How much this will add overhead at runtime?
  23. Tommi Prami

    Call for Delphi 12 Support in OpenSource projects.

    JCLK and JVCL should support D12 in their repository received commits today.
  24. Yellow, Now that there is "Public" Beta of Delphi 12. ( https://blogs.embarcadero.com/delphi-supports-android-api-33-via-yukon-beta/ ) Some OSS component/library supporters have already made "Educated guess" what there need to be done to support D12, making packages and so. If possible/time/willing to make such a guess, please do, I think it would make everyone's job easier to test the Beta, since almost all of products made with Delphi, use some kind of Open source libs. I think it would just help all people in beta, even if maintainer would not be. In some cases making packages are trivial thing, but quite waste of time if everyone in Beta will do it themselves. Like the great folks maintaining: https://github.com/EtheaDev/SVGIconImageList https://github.com/skia4delphi/skia4delphi (Just to mention two I've noticed) -Tee-
  25. Tommi Prami

    GExperts 1.3.23 Alpha for Delphi 12

    Thank you very many 😉 -Tee-
×