Skip to content

Instantly share code, notes, and snippets.

View Eboubaker's full-sized avatar
🐐

Eboubaker Bekkouche Eboubaker

🐐
  • Soft-lines LLC
  • Eloued, Algeria
  • 05:26 (UTC +01:00)
View GitHub Profile
Below are the Big O performance of common functions of different Java Collections.
List | Add | Remove | Get | Contains | Next | Data Structure
---------------------|------|--------|------|----------|------|---------------
ArrayList | O(1) | O(n) | O(1) | O(n) | O(1) | Array
LinkedList | O(1) | O(1) | O(n) | O(n) | O(1) | Linked List
CopyOnWriteArrayList | O(n) | O(n) | O(1) | O(n) | O(1) | Array
@Eboubaker
Eboubaker / ..steps.md
Last active November 25, 2021 19:52 — forked from kiddtang/.env-Swoole
[Youtube - Boosts your Laravel Sail] a youtube guide from https://www.youtube.com/watch?v=0KjyubRdtvA

TL;DR Configuration steps

  • curl -s https://laravel.build/proj | bash
  • cd proj
  • alias sail="vendor/bin/sail"
  • sail up -d
  • sail npm install
  • sail npm install --save-dev chokidar
  • sail composer install laravel/octane
  • sail artisan octane:install select swoole
  • add swoole configuration into config/octane.php