PeakLu

Results 7 comments of PeakLu

> Hmm maybe because sockets are disabled for Windows: > https://github.com/dbcli/mycli/blob/master/mycli/main.py#L405 Is that mean mycli will not work on WSL?

> I was wrong; `sys.platform` returns on WSL `linux`. So sockets should work. > Could you please tell me how you've installed mysql-server on WSL? I've installed mysql using apt-get...

> @GEeKkk I just reproduced this on WSL and was able to connect with: > > ```shell > $ mycli -u root -h 127.0.0.1 > ``` > > Can you...

Thanks for the explanation. By the way, is there any plan to support transaction through different partitions?

Any progress on this feature?

> > [low/bitmap/select.go](https://github.com/openacid/low/blob/61370655ca7432adb5a8f077deeef8b1ba288974/bitmap/select.go#L264) > > Line 264 in [6137065](/openacid/low/commit/61370655ca7432adb5a8f077deeef8b1ba288974) > > ones := bits.OnesCount32(uint32(ww)) > > 问了下gpt,说是"现代CPU对"从低位开始"的分支预测更友好",但是不确定是不是正确,想请教下作者本人。 > > 不是的, 是因为1是从第0个bit向第63个bit顺序填的, 所以要按顺序找... 感谢xp回复。 问了这个问题之后重新看了下实现,确实是从低位向高位填充的。 后来我的问题是这样,即设置bit的时候,从高位向低位,也是可以的吧,对应的查找方式改改就行?