SWEETPONY
SWEETPONY
CC#
Created by SWEETPONY on 11/10/2024 in #help
✅ I don't undertand the error: capacity was less than the current size
oh, thanks for this!
17 replies
CC#
Created by SWEETPONY on 11/10/2024 in #help
✅ I don't undertand the error: capacity was less than the current size
yes
17 replies
CC#
Created by SWEETPONY on 11/10/2024 in #help
✅ I don't undertand the error: capacity was less than the current size
simple for was x2 faster than Parallel.For idk why
17 replies
CC#
Created by SWEETPONY on 11/10/2024 in #help
✅ I don't undertand the error: capacity was less than the current size
forgot about thread safety
17 replies
CC#
Created by SWEETPONY on 11/10/2024 in #help
✅ I don't undertand the error: capacity was less than the current size
hm ur right, I will change List to smth concurrent like ConcurrentBag and try to see results
17 replies
CC#
Created by SWEETPONY on 11/10/2024 in #help
✅ I don't undertand the error: capacity was less than the current size
but maybe I was wrong and it shouldn't be faster
17 replies
CC#
Created by SWEETPONY on 11/10/2024 in #help
✅ I don't undertand the error: capacity was less than the current size
simple for takes 25 seconds in this case, that is why I decided to use Parallel.For
17 replies
CC#
Created by SWEETPONY on 11/6/2024 in #help
✅ Is it worth to use stackalloc here?
also use signalr and force it to use just sse is weird
41 replies
CC#
Created by SWEETPONY on 11/6/2024 in #help
✅ Is it worth to use stackalloc here?
I can do it manually
41 replies
CC#
Created by SWEETPONY on 11/6/2024 in #help
✅ Is it worth to use stackalloc here?
I don't need signalr in my opinion why should I install the whole library just for heartbeat
41 replies
CC#
Created by SWEETPONY on 11/6/2024 in #help
✅ Is it worth to use stackalloc here?
41 replies
CC#
Created by SWEETPONY on 11/6/2024 in #help
✅ How to write unit test for this?
done
3 replies
CC#
Created by SWEETPONY on 11/6/2024 in #help
✅ Is it worth to use stackalloc here?
41 replies
CC#
Created by SWEETPONY on 11/6/2024 in #help
✅ How to write unit test for this?
I understand why this happens but I don't understand how to avoid this exception and just check content
3 replies
CC#
Created by SWEETPONY on 11/6/2024 in #help
✅ Is it worth to use stackalloc here?
anyway thanks for helping
41 replies
CC#
Created by SWEETPONY on 11/6/2024 in #help
✅ Is it worth to use stackalloc here?
ws is good but i need sse here, thats why I use text/event-stream
41 replies
CC#
Created by SWEETPONY on 11/6/2024 in #help
✅ Is it worth to use stackalloc here?
I just need sse
41 replies
CC#
Created by SWEETPONY on 11/6/2024 in #help
✅ Is it worth to use stackalloc here?
signalr can choose websockets, sse etc
41 replies
CC#
Created by SWEETPONY on 11/6/2024 in #help
✅ Is it worth to use stackalloc here?
actually I don't need signalr
41 replies
CC#
Created by SWEETPONY on 11/6/2024 in #help
✅ Is it worth to use stackalloc here?
hm yes, sse is good for this things
41 replies