NightOwl888 commented on issue #1040:
URL: https://github.com/apache/lucenenet/issues/1040#issuecomment-2487406460

   Given the fact that
   
   - FEATURE_CONDITIONALWEAKTABLE_ENUMERATOR
   - FEATURE_CONDITIONALWEAKTABLE_ADDORUPDATE
   
   are pretty crucial to ensuring the GC cleans up properly and also impact 
performance quite a bit, I wouldn't wish `netstandard2.0` on anybody who 
doesn't absolutely require it. If I had to choose a target to eliminate, it 
would be `netstandard2.0`, since it has the least number of optimizations and 
the most hacks in it.
   
   The only real impacts of doing so would be:
   
   - Dropping UWP support completely
   - Requiring higher versions of most other platforms that are still in support
   - Breaking compatibility with any library that depends on the 
`netstarndard2.0` target so they don't have to multi-target (but we should 
discourage this practice because of the performance degradation on 
`netstandard2.0` vs `net462` or `net8.0`)
   
   If using NuGet, the `netstandard2.0` target will never be installed in a 
.NET Framework application, since it will prefer `net462`.
   
   The System.Memory APIs in that list are also important for performance (and 
this gap is likely to grow as we add support for System.Memory, since 
`netstandard2.1` supports it much better than older platforms).
   
   - FEATURE_NUMBER_PARSE_READONLYSPAN
   - FEATURE_STREAM_READ_SPAN
   - FEATURE_STRINGBUILDER_APPEND_READONLYSPAN


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@lucenenet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to