You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder why you use this BatList module and a modify_at function (which cannot be in O(1) but is in O(n) if the list has n elements), instead of using a simple int array or float array and changing its i-th value with a.(i) <- x.
Thanks, I'm curious 😃.
The text was updated successfully, but these errors were encountered:
Hey Lilian, because performance wasn't the concern.
If you have any serious use don't use the current opam release, there is a bugfix pending to be pushed. master is fine.
Ton travail est sympa, tu peux contacter @albietz qui travaille sur des choses similaires je pense, au vu de son dernier article et de ta librairie fraichement publiee.
Hi,
For example, here,
obandit/src/obandit.ml
Line 113 in 18cf133
I wonder why you use this
BatList
module and amodify_at
function (which cannot be in O(1) but is in O(n) if the list has n elements), instead of using a simpleint array
orfloat array
and changing its i-th value witha.(i) <- x
.Thanks, I'm curious 😃.
The text was updated successfully, but these errors were encountered: