Skip to content

Commit 4924857

Browse files
committed
Add note on # of max threads.
1 parent bb3e27d commit 4924857

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

experimental/tinyobj_loader_opt.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,6 +1238,8 @@ typedef struct {
12381238
// 3. Do parallel parsing for each line.
12391239
// 4. Reconstruct final mesh data structure.
12401240

1241+
// Raise # of max threads if you have more CPU cores...
1242+
// In 2018, 32 cores are getting common in high-end workstaion PC.
12411243
#define kMaxThreads (32)
12421244

12431245
static inline bool is_line_ending(const char *p, size_t i, size_t end_i) {

0 commit comments

Comments
 (0)