Andrew Snow

Results 13 comments of Andrew Snow

@fxk2006 Have you tried sqlc ? It does this kind of thing but with many more useful features

You're calling `Set()` with a cost of 16, but actually storing more than double that, because you are converting UUID from raw bytes to a string ?: ```go fmt.Println("len =...

@RyouZhang sorry, my mistake. Have you tried going much bigger, like, at 1GB of byte values, does it use 2GB of memory or just 1.1GB?

@tsenart it looks good and I will proceed with testing, but I really was hoping for a HaltWithTimeout, not Wait, which looks easy to add.

@tsenart I had a closer look and I think it is actually much more important that we get a HaltWithTimeout, because otherwise we could have a lot of consumers of...

Rather than sleep, perhaps it would make more sense for the consumers to be listening to a channel which gets a message whenever tokens get added. This way, consumers will...

Please correct me if I'm wrong, I may have misunderstood this :) If I have 1 ticket per second added to the bucket, and two consumers `Wait`ing for 10 tickets...

I might get to it one day, but I don't really use systems other than linux so I'm putting it out there in the hope that someone else can help....

Looking at the JMAP export, it had created more folders called "Inbox" which show up as INBOX 1, INBOX 2, ... in the IMAP server. This seems behaviour can't make...

Just checked v0.11.8 and confirmed it works there: ``` B CREATE Inbox/Foo B OK [MAILBOXID (cmaaaab1)] Mailbox created. C SELECT Inbox/Foo * 0 EXISTS * FLAGS (\Answered \Flagged \Deleted \Seen...