Binto86
Binto86
CC#
Created by Binto86 on 11/25/2023 in #help
✅ Is there any speed comparison between running your code normally and running it AOT?
thanks
4 replies
CC#
Created by Binto86 on 11/25/2023 in #help
✅ Is there any speed comparison between running your code normally and running it AOT?
ok i can't google it seems
4 replies
CC#
Created by Binto86 on 8/28/2023 in #help
✅ Can't have interface with abstract static method as parameter in blazor component
thanks for your help
7 replies
CC#
Created by Binto86 on 8/28/2023 in #help
✅ Can't have interface with abstract static method as parameter in blazor component
looks like i will have to figure something out
7 replies
CC#
Created by Binto86 on 8/28/2023 in #help
✅ Can't have interface with abstract static method as parameter in blazor component
i see
7 replies
CC#
Created by Binto86 on 8/28/2023 in #help
✅ Can't have interface with abstract static method as parameter in blazor component
oook
7 replies
CC#
Created by Binto86 on 8/28/2023 in #help
✅ Can't have interface with abstract static method as parameter in blazor component
<MyComponent MyFoo="foo"/>
<MyComponent MyFoo="foo"/>
7 replies
CC#
Created by Binto86 on 8/28/2023 in #help
✅ Can't have interface with abstract static method as parameter in blazor component
sure
7 replies
CC#
Created by Binto86 on 7/1/2023 in #help
✅ Validate input in list in blazor forms
For anyone interested, i solved it by creating Component for Person and called it every time in the loop. I set the editcontext of the person form by hand. Than on submit i looped through every person and called context.Validate() and if any of the people returned false i didn't proced with the submiting.
3 replies
CC#
Created by moshimoshi on 3/19/2023 in #help
✅ Algorithm analysis
np
17 replies
CC#
Created by moshimoshi on 3/19/2023 in #help
✅ Algorithm analysis
so you get O(n*(n/2)) which is essentially O(n^2)
17 replies
CC#
Created by moshimoshi on 3/19/2023 in #help
✅ Algorithm analysis
and thats what im multipling the first n, because on average you go n/2 for each i
17 replies
CC#
Created by moshimoshi on 3/19/2023 in #help
✅ Algorithm analysis
if you take average of the numbers you get n/2
17 replies
CC#
Created by moshimoshi on 3/19/2023 in #help
✅ Algorithm analysis
for i = 1 thats 1 for i = 2 thats two for i = n thats n
17 replies
CC#
Created by moshimoshi on 3/19/2023 in #help
✅ Algorithm analysis
and for every i you go from 1 to i in the second loop
17 replies
CC#
Created by moshimoshi on 3/19/2023 in #help
✅ Algorithm analysis
so you have the outer loop, if you had only that, it would be O(n), right
17 replies
CC#
Created by moshimoshi on 3/19/2023 in #help
✅ Algorithm analysis
sure
17 replies
CC#
Created by moshimoshi on 3/19/2023 in #help
✅ Algorithm analysis
im still not sure that this is completelly correct, but close enough
17 replies
CC#
Created by moshimoshi on 3/19/2023 in #help
✅ Algorithm analysis
ah ok
17 replies
CC#
Created by moshimoshi on 3/19/2023 in #help
✅ Algorithm analysis
aka O(n^2)
17 replies