<companion_cube>
ah, if I remove the string part, records are 73% faster
zarulshahrin has quit [Ping timeout: 246 seconds]
<malc_>
companion_cube: what about:
<malc_>
let f_obj obj x =
<malc_>
let aux = obj#do_it in
<malc_>
for _i = 1 to n_iter do
<malc_>
ignore (Sys.opaque_identity (aux x))
<malc_>
done
<companion_cube>
no idea, let me try
<companion_cube>
good call, it's faster
<companion_cube>
record is 50% faster than obj, 33% faster than obj with cache
ygrek has quit [Ping timeout: 248 seconds]
jao has quit [Ping timeout: 248 seconds]
FreeBirdLjj has joined #ocaml
dtornabene has quit [Read error: Connection reset by peer]
dtornabene has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 248 seconds]
whoman has quit [Remote host closed the connection]
whoman has joined #ocaml
zarulshahrin has joined #ocaml
zarulshahrin has quit [Ping timeout: 260 seconds]
spew has quit [Quit: Leaving]
sonologico has joined #ocaml
dtornabene has quit [Read error: Connection reset by peer]
dtornabene has joined #ocaml
dtornabene has quit [Read error: Connection reset by peer]
zarulshahrin has joined #ocaml
jimmyrcom has joined #ocaml
jimmyrcom has quit [Max SendQ exceeded]
jimmyrcom has joined #ocaml
zarulshahrin has quit [Ping timeout: 240 seconds]
jimmyrcom has quit [Max SendQ exceeded]
jimmyrcom has joined #ocaml
sonologico has quit [Quit: WeeChat 1.9.1]
kerrhau has quit [Ping timeout: 260 seconds]
kerrhau has joined #ocaml
zarulshahrin has joined #ocaml
zarulshahrin has quit [Ping timeout: 265 seconds]
MercurialAlchemi has joined #ocaml
mbuf has joined #ocaml
KeyJoo has joined #ocaml
zarulshahrin has joined #ocaml
zarulshahrin has quit [Ping timeout: 276 seconds]
orbifx has joined #ocaml
orbifx has quit [Read error: Connection reset by peer]
cbot has quit [Quit: Leaving]
Haudegen has joined #ocaml
nopf has quit [Read error: Connection reset by peer]
keyjoo_ has joined #ocaml
KeyJoo has quit [Ping timeout: 265 seconds]
zarulshahrin has joined #ocaml
freyr has joined #ocaml
keyjoo_ has quit [Quit: Good luck! Have a nice Day!]
KeyJoo has joined #ocaml
zarulshahrin has quit [Ping timeout: 264 seconds]
<rgrinberg>
Drup: any conclusion on the re pr?
AltGr has joined #ocaml
KeyJoo has quit [Remote host closed the connection]
zpe has joined #ocaml
argent_smith has joined #ocaml
zarulshahrin has joined #ocaml
zarulshahrin has quit [Ping timeout: 248 seconds]
simon has left #ocaml [#ocaml]
zolk3ri has joined #ocaml
sapristi has joined #ocaml
andreas_ has joined #ocaml
ia0 has quit [Quit: reboot]
VermillionAzure has joined #ocaml
zolk3ri has quit [Quit: leaving]
ia0 has joined #ocaml
barcabuona has quit [Ping timeout: 256 seconds]
cuicui has joined #ocaml
cuicui has quit [Client Quit]
cuicui has joined #ocaml
dhil has joined #ocaml
malc_ has quit [Quit: ERC (IRC client for Emacs 25.0.50.2)]
barcabuona has joined #ocaml
TarVanimelde has joined #ocaml
ziyourenxiang has joined #ocaml
nicoo has quit [Ping timeout: 255 seconds]
TarVanimelde has quit [Quit: TarVanimelde]
nicoo has joined #ocaml
Serpent7776 has joined #ocaml
mfp has joined #ocaml
zarulshahrin has joined #ocaml
orbifx has joined #ocaml
mk9 has joined #ocaml
zarulshahrin has quit [Ping timeout: 276 seconds]
ninegrid has quit [Quit: leaving]
VermillionAzure has quit [Ping timeout: 264 seconds]
TarVanimelde has joined #ocaml
_andre has joined #ocaml
<Drup>
rgrinberg: the conclusion that I have far too many stuff to look at ? :D
GreyFaceNoSpace has quit [Quit: Ex-Chat]
zarulshahrin has joined #ocaml
VermillionAzure has joined #ocaml
zarulshahrin has quit [Ping timeout: 240 seconds]
kerrhau has quit [Ping timeout: 248 seconds]
JeanMax has joined #ocaml
Haudegen has quit [Read error: Connection reset by peer]
TarVanimelde has quit [Quit: TarVanimelde]
silver has joined #ocaml
zarulshahrin has joined #ocaml
dhil has quit [Ping timeout: 240 seconds]
wickedshell has quit [Ping timeout: 277 seconds]
vodkaInf1rno has quit [Ping timeout: 268 seconds]
dhil has joined #ocaml
jimmyrcom has quit [Ping timeout: 248 seconds]
vodkaInferno has joined #ocaml
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
mbuf has quit [Quit: Leaving]
JeanMax has quit [Remote host closed the connection]
zpe has quit [Ping timeout: 240 seconds]
JeanMax has joined #ocaml
Haudegen has joined #ocaml
Soni has quit [Excess Flood]
Soni has joined #ocaml
webshinra has quit [Remote host closed the connection]
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
webshinra has joined #ocaml
wickedshell has joined #ocaml
dhil has quit [Ping timeout: 255 seconds]
zpe has joined #ocaml
sepp2k has joined #ocaml
Soni has quit [Ping timeout: 260 seconds]
Soni has joined #ocaml
mk9 has quit [Ping timeout: 246 seconds]
Soni has quit [Ping timeout: 246 seconds]
Soni has joined #ocaml
jao has joined #ocaml
govg has quit [Ping timeout: 256 seconds]
Soni has quit [Ping timeout: 240 seconds]
govg has joined #ocaml
mk9 has joined #ocaml
govg has quit [Ping timeout: 240 seconds]
govg has joined #ocaml
letoh has quit [Ping timeout: 264 seconds]
letoh has joined #ocaml
jbrown has joined #ocaml
sh0t has joined #ocaml
spew has joined #ocaml
Jesin has quit [Quit: Leaving]
<Leonidas>
oh, dune runtest --force \o/
<reynir>
\\\o///
<jpdeplaix>
Leonidas: what does that do ?
freyr has quit [Remote host closed the connection]
<companion_cube>
Leonidas: \o/
<companion_cube>
ohh, execute non public binaries
spew has quit [Remote host closed the connection]
Haudegen has quit [Remote host closed the connection]
<Leonidas>
jpdeplaix: that runs runtest always. before it would only execute it once per build.
<companion_cube>
which is annoying when you have random tests
<Leonidas>
yes, *extremely*
<Leonidas>
or when you have integration tests
<Leonidas>
and you believe you have fixed the integration points and want to rerun the test
<companion_cube>
:D
dhil has joined #ocaml
<rks`>
Leonidas: if your dependencies are properly listed that should already have rerun, shouldn't it?
<rks`>
I'd fix that instead of using --force...
<companion_cube>
-> random tests
<reynir>
the dependency is entropy, I gues
<rks`>
companion_cube: I wasn't talking to you punk
<reynir>
wow
<companion_cube>
also, right now the language for expressing dependencies is super limited
<rks`>
companion_cube: how so?
<companion_cube>
(there are stuff like wildcards but they are broken)
<companion_cube>
(anyway, I can't really express the dependencies of my qtest binary)
<Leonidas>
rks`: how can I specify my infrastructure as jbuilder dependencies? I do think that it is important to be able to rerun tests how many times I want.
<rks`>
I'm not saying it's not
<Leonidas>
i guess that could work if i married nixos with dune to build a system in the correct state :D
<companion_cube>
(deps (/))
<rks`>
!
<Leonidas>
in any case, now my particular complaint is sort of solved so I'm happy.
<companion_cube>
^
<Leonidas>
because the other possibility, to just call the test binary also wasn't possible in beta16 since it didn't build it, but now I can call jbuilder exec, even disregarding runtest.
<Leonidas>
(didn't build it if it was not public, which test runners don't have to be, since I don't plan to install them, but I wanted to run them)
<rks`>
yes that kinda sucked.
cuicui has quit [Read error: Connection reset by peer]
<companion_cube>
jbuilder exec is also going to be handy for stuff like benchmark binaries
cuicui has joined #ocaml
shinnya has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 248 seconds]
jao has quit [Ping timeout: 256 seconds]
orbifx1 has joined #ocaml
orbifx has quit [Ping timeout: 256 seconds]
_andre has quit [Ping timeout: 260 seconds]
<Leonidas>
yep, I've had a PR where this will come handy
zolk3ri has joined #ocaml
orbifx1 has quit [Read error: Connection reset by peer]
orbifx has joined #ocaml
moei has joined #ocaml
_andre has joined #ocaml
orbifx has quit [Read error: Connection reset by peer]
orbifx1 has joined #ocaml
gpietro has joined #ocaml
gpietro__ has joined #ocaml
gpietro__ has quit [Remote host closed the connection]
sh0t has quit [Quit: Leaving]
gpietro has quit [Remote host closed the connection]
sh0t has joined #ocaml
johnelse is now known as johnel_away
johnel_away is now known as johnelse
gpietro has joined #ocaml
sh0t has quit [Ping timeout: 255 seconds]
VermillionAzure has quit [Ping timeout: 256 seconds]
<companion_cube>
rgrinberg: I like curly, it's simple
<rgrinberg>
companion_cube: yeah, i kind of wish opam publish used it.
orbifx1 has quit [Ping timeout: 265 seconds]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Ping timeout: 260 seconds]
sz0 has joined #ocaml
dogui has quit [Ping timeout: 260 seconds]
sapristi has quit [Remote host closed the connection]
troydm has joined #ocaml
sapristi has joined #ocaml
dogui has joined #ocaml
dhil has quit [Ping timeout: 240 seconds]
sveit has quit [Ping timeout: 240 seconds]
Soni has joined #ocaml
sveit has joined #ocaml
Soni has quit [Ping timeout: 256 seconds]
sapristi has quit [Remote host closed the connection]
sapristi has joined #ocaml
Soni has joined #ocaml
cuicui has quit [Ping timeout: 248 seconds]
krktz has quit [Quit: Lost terminal]
cuicui has joined #ocaml
shinnya has quit [Ping timeout: 260 seconds]
cuicui has quit [Ping timeout: 264 seconds]
ziyourenxiang has quit [Ping timeout: 240 seconds]
orbifx has joined #ocaml
zarulshahrin has quit [Ping timeout: 276 seconds]
mk9 has quit [Ping timeout: 265 seconds]
cuicui has joined #ocaml
cuicui has quit [Quit: leaving]
orbifx1 has joined #ocaml
orbifx has quit [Ping timeout: 265 seconds]
orbifx1 has quit [Ping timeout: 264 seconds]
dogui has quit [Ping timeout: 256 seconds]
dogui has joined #ocaml
orbifx has joined #ocaml
dhil has joined #ocaml
Serpent7776 has quit [Quit: Leaving]
zarulshahrin has joined #ocaml
dhil has quit [Ping timeout: 240 seconds]
orbifx has quit [Ping timeout: 260 seconds]
orbifx has joined #ocaml
mk9 has joined #ocaml
mk9 has quit [Client Quit]
mk9 has joined #ocaml
jnavila has joined #ocaml
cbot has joined #ocaml
Anarchos has joined #ocaml
jnavila has quit [Ping timeout: 246 seconds]
sapristi has quit [Remote host closed the connection]
sapristi has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
Anarchos has quit [Ping timeout: 240 seconds]
jnavila has joined #ocaml
Haudegen has joined #ocaml
jnavila has quit [Ping timeout: 240 seconds]
jao has joined #ocaml
Anarchos has joined #ocaml
ShalokShalom has joined #ocaml
<ShalokShalom>
hi there
<ShalokShalom>
i read that there is a ppx for monad do notations?
<ShalokShalom>
its quite often used, in every large project
<ShalokShalom>
just the name is not mentioned
<reynir>
Really?
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
_andre has quit [Quit: leaving]
<Drup>
ShalokShalom: there are multiple ones, and afaik, none of them as any usage :p
<Drup>
has*
jnavila has joined #ocaml
<Drup>
ShalokShalom: if you are talking about something from jst, then it's ppx_let
<Drup>
it's not really a do notation, tho
jimmyrcom has joined #ocaml
jimmyrcom has quit [Ping timeout: 256 seconds]
ShalokShalom2 has joined #ocaml
kakadu has joined #ocaml
ShalokShalom has quit [Ping timeout: 248 seconds]
baboum has joined #ocaml
jnavila has quit [Ping timeout: 240 seconds]
mk9 has quit [Quit: mk9]
kerrhau has joined #ocaml
kerrhau has joined #ocaml
kerrhau has quit [Changing host]
jnavila has joined #ocaml
sapristi has quit [Remote host closed the connection]
sapristi has joined #ocaml
sapristi has quit [Remote host closed the connection]
sapristi has joined #ocaml
sapristi has quit [Remote host closed the connection]
sapristi has joined #ocaml
k1000 has quit [Quit: .]
k1000 has joined #ocaml
Jesin has joined #ocaml
mk9 has joined #ocaml
mk9 has quit [Client Quit]
sepp2k has quit [Remote host closed the connection]
sepp2k has joined #ocaml
jnavila has quit [Ping timeout: 240 seconds]
argent_smith has quit [Quit: Leaving.]
AltGr has left #ocaml [#ocaml]
sapristi has quit [Remote host closed the connection]
sapristi has joined #ocaml
sapristi has quit [Remote host closed the connection]
sapristi has joined #ocaml
jnavila has joined #ocaml
Haudegen has quit [Read error: Connection reset by peer]
ShalokShalom2 has quit [Ping timeout: 246 seconds]
ShalokShalom2 has joined #ocaml
cbot has quit [Ping timeout: 256 seconds]
sapristi has quit [Remote host closed the connection]
sapristi has joined #ocaml
mk9 has joined #ocaml
Haudegen has joined #ocaml
zolk3ri has quit [Remote host closed the connection]
jimmyrcom has joined #ocaml
jnavila has quit [Ping timeout: 240 seconds]
sapristi has quit [Quit: Leaving]
cbot has joined #ocaml
Jesin has quit [Quit: Leaving]
jnavila has joined #ocaml
mk9 has quit [Quit: mk9]
mk9 has joined #ocaml
jnavila has quit [Remote host closed the connection]
sepp2k has quit [Quit: Leaving.]
VermillionAzure has joined #ocaml
_y has quit [Quit: Hmm… À quoi, la tourte ? — À la pomme. — Chouette, mes préférées !]
mk9 has quit [Quit: mk9]
kakadu has quit [Remote host closed the connection]
<tizoc>
did anything change in the way derivers have to be written or built in ppx_deriving 4.2 ?