Yiling-J

Results 44 comments of Yiling-J

If someone need a fast `GetMany` alternative, maybe take a look this one: https://github.com/ohler55/ojg benchmark on 40KB json with 7 search: ``` cpu: Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz BenchmarkGJsonSearch-16...

@franchb I don't keep the benchmark code, but it's very easy to write one: ``` obj, err := oj.ParseString(yourJsonString) path := []string{path1, path2, path3...} for _, p := range path...

This is quite interesting so let me show what I found here: ```go func TestFoo(t *testing.T) { var table = "apple" _, err := db.Ent().User.Query().Where( func(s *sql.Selector) { table :=...

@poonman To make create work, I think you have to do some code generation. Here is my idea: Let's use card as example: ```go func (cc *CardCreate) sqlSave(ctx context.Context) (*Card,...

> > This is quite interesting so let me show what I found here: > > ```go > > func TestFoo(t *testing.T) { > > var table = "apple" >...

Consider using [Theine](https://github.com/Yiling-J/theine) as the backend when you decide to implement it. Which is much faster than cachetools.

Actually I'm thinking, [async-lru](https://github.com/aio-libs/async-lru) is also an aio-libs project, maybe it's possible to combine these two and use async-lru as the SimpleMemoryBackend? Theine is a little heavy because it has...

I I encountered this issue today after adding the package_info_plus package and release web. However, the problem disappeared after performing a `flutter clean`, rebuilding, and releasing again. I recently faced...

I want to show a resend button on my app's signup page, and active it after 1 minutes. After take a look API, I think the name [Complete Verification Flow](https://www.ory.sh/docs/reference/api#tag/frontend/operation/updateVerificationFlow)...

@flimzy Looks good, would be better if adding some unit tests, or refactoring current tests to also init db using `sql.OpenDB` method